Part Number Hot Search : 
AMS510 PS151R SCDAS05F 3D3225 FDB2501 015C2 Y100E BZW04
Product Description
Full Text Search
 

To Download STM8128-MCKIT Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  august 2008 rev 2 1/41 41 um0482 user manual stm8/128-eval evaluation board introduction the stm8s2xx evaluation board stm8/128- eval is designed as a complete development platform for stmicroelectronic's stm8 core- based stm8s2xx microcontroller with can2.0a/b compliant interface, i 2 c, spi, two uart channels with smartcard, irda and lin support, internal 2 kbyte data flash and 128 kbyte code flash, swim debugging support. the full range of hardware features on the board is able to help you evaluate all peripherals (including motor control, can, microsd card, smartcard, uart, lin, irda) and develop your own applications. extension headers make it possible to easily connect a daughter board or wrapping board for your specific application. features two 5 v power supply options: power jack or daughter board audio play and record 64 or 128 mbyte microsd card both a&b type smar tcard support 64 kbit i 2 c eeprom 2 channels of rs-232 communication irda transceiver 2 channels of lin communication can2.0a/b compliant connection inductor motor control connector swim and stice debug support 122x32 dot-matrix serial interface lcd module joystick with 4-direction control and selector reset, wakeup, tamper and user button 4 leds extension connector for daughter board or wrapping board. figure 1. stm8/128-eval evaluation board www.st.com
contents um0482 2/41 contents 1 hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.1 power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.2 clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.3 reset source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.4 audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.5 i 2 c eeprom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.6 can . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.7 rs-232 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.8 lin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.9 motor control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.10 smartcard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.11 microsd card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.12 analog input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.13 irda . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.14 development and debug support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.15 display and input devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2 connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.1 stice connector cn2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2 analog input connector cn3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.3 swim connectors cn4 and cn17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.4 power connector cn6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.5 audio jack cn7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.6 can d-type 9-pin male connector cn8 . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.7 microsd connector cn9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.8 motor control connector cn10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.9 lin connectors cn11 and cn14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.10 smartcard connector cn12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.11 rs-232 connectors cn13 and cn15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.12 qst connector cn16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.13 daughter board extension connectors cn1 and cn5 . . . . . . . . . . . . . . . 20
um0482 contents 3/41 3 schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 appendix a stm8/128-eval io assignm ent . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
hardware layout and configuration um0482 4/41 1 hardware layout and configuration the stm8/128-eval evaluation board is designed around the stm8s2xx microcontroller in an 80-pin tqfp package. the hardware block diagram figure 2 illustrates the connection between stm8s2xx and peripherals (lcd, i 2 c eeprom, uart, irda, lin, audio, can bus, smartcard, microsd card and motor control) and figure 3 will help you locate these features on the actual evaluation board. figure 2. hardware block diagram adc2 uart1 uart3 adc2
um0482 hardware layout and configuration 5/41 figure 3. stm8/128-eval evaluation board top layout 1. rv1 is connected to ain9 instead of ain8 as mentioned on the silkscreen. 2. cn13 and cn15 correspond to uart1 and uart3, instead of usart1 and usart2, as mentioned on the silkscreen. cn5, cn1 extension header cn3 bnc connector cn10 motor control u14 irda u1 stm8s2xx cn8 can cn13 usart1 (2) cn15 usart2 (2) cn6 5v power cn11 lin1 connector cn14 lin2 connector cn4 swim u13 dot-matrix lcd cn16 qst connector cn7 audio jack b2 key u9 joystick b1 reset cn9 microsd card u8 mic rv1 potentiometer (1) r75 resistor
hardware layout and configuration um0482 6/41 figure 4. stm8/128-eval evaluation board bottom layout cn12 smartcard
um0482 hardware layout and configuration 7/41 1.1 power supply the stm8/128-eval evaluation board is designed to be powered by 5 v dc power supply and to be protected by the polyzen (auto rearmable fuse) u2 from wrong power plug-in event. it is possible to configure the evaluation board to use any of following sources for the power supply. 5 v dc power adapter connected to cn6, the power jack on the board (psu on silk screen for power supply unit ). 5 v dc power from both cn5 and cn1, the extension connector for daughter board (dtb for daughter board on silkscreen). the power supply is configured by setting the related jumpers jp3 and jp2 as described in ta bl e 1 . the led ld5 is lit when the stm8/128-eval evaluation board is powered from the 5v supply, and ld6 is also lit when the 3.3 v power regulator u3 is present. 1.2 clock source one clock source is available on the stm8/128-eval evaluation board for stm8s2xx: x1, 24 mhz crystal with socket for stm8s2xx microcontroller it can be removed from the socket when the internal rc clock is used. table 1. power related jumpers jumper description jp3 jp3 is used to select one of the two possible power supply resources. for power supply jack (cn6) to the stm8/128-eval only , jp3 is set as shown. this is the default setting. for power supply from the daughter board connectors (cn5 and cn1) to stm8/128-eval only , jp3 is set as shown. for power supply from power supply jack (cn6) to both stm8/128-eval and daughter board connected on cn5 and cn1, jp3 is set as shown ( daughter board must have not its own power supply connected ). jp2 measures the consumption of both vdd and vdda. default setting: fitted psu dtb psu dtb psu dtb
hardware layout and configuration um0482 8/41 1.3 reset source the reset signal of stm8/128-eval evaluation board is low active and the reset sources include: reset button b1 debugging tools from connector cn4 daughter board from cn5 the reset pin pa0 of stm8s2xx is connected either to reset button b1 or to gnd by setting the jumper jp1 as described in ta bl e 2 . 1.4 audio the stm8/128-eval evaluation board supports both audio recording and playback. this can be disabled or enabled by setting the jumpers jp4 and jp5. audio volume can be adjusted using the potentiometer rv2, while the microphone amplifier gain can be adjusted using potentiometer rv3. the beeper function pin pd4 is connected to t he speaker via the jp14 jumper which can be used to select the source, beeper or pwm output from stm8s2xx. table 2. reset related jumpers jumper description jp1 pa0 is connected to gnd when jp1 is set as shown. it is used to maintain the reset pin at low level while stice is connected to the board. pa0 is connected to reset button when jp1 is set as shown. this is the default setting. 1 2 3 1 2 3 table 3. audio related jumpers jumper description jp4 the audio power amplifier ts4871 is forced into standby mode when jp4 is not fitted. default setting: fitted jp5 the microphone pre-amplifier max4061 is fo rced into shutdown mode when jp5 is fitted. default setting: not fitted jp14 either beeper or pwm output ca n be selected as a source of speaker by setting the jumper jp14. the beeper is connected to speaker when jp14 is set as shown opposite. the pwm output is connected to speaker when jp14 is set as shown opposite. this is the default setting. 1 2 3 1 2 3
um0482 hardware layout and configuration 9/41 1.5 i 2 c eeprom a 64kbit i 2 c eeprom is conn ected to the i 2 c port of stm8s2xx. write protection can be enabled by setting jumper jp8. 1.6 can the stm8/128-eval evaluation board supports can2.0a/b compliant can bus communication based on 5 v can transceiver. the high-speed mode and low-speed mode are available and can be selected by setting jp6. 1.7 rs-232 two d-type 9-pin connectors cn13 (uart1) and cn15 (uart3) are available on the stm8/128-eval evaluation board. the usart1 connector is connected to channel 3 of the multiplexer u17, while the usar t2 connector is connected to channel 1 of the multiplexer u18. note: uart1 and uart3 are named usart1 and usart2 on the silkscreen (refer to figure 3 ). 1.8 lin two d-type 9-pin lin connectors cn11 (lin1) and cn14 (lin2) are available on the stm8/128-eval evaluation board. the lin1 connector is connected to channel 4 of the multiplexer u17, while the lin2 connector is co nnected to channel 0 of the multiplexer u18. either master or slave operation mode is supported by both lin connectors and can be table 4. i 2 c eeprom related jumper jumper description jp8 i 2 c eeprom u12 is protected from write operations when jp8 is not fitted. default setting: fitted table 5. can related jumpers jumper description jp6 can transceiver operates in low-speed mode when jp6 is set as shown: can transceiver operates in high-speed mode when jp6 is set as shown: this is the default setting. jp7 can terminal resistor is enabled when jp7 is fitted. default setting: not fitted. 1 2 3 1 2 3
hardware layout and configuration um0482 10/41 selected by setting jumpers jp11 and jp12. the lin1 and lin2 transceivers are powered by an external voltage from 6v to 26v connected to pin 9 of the lin db9 connector. 1.9 motor control the stm8/128-eval evaluation board supports inductor motor control via a 34-pin connector cn10, which provides all required control and feedback signals to and from the motor power-driving board. available signals on this connector include emergency stop, motor speed, 3-phase motor current, bus voltage, heatsink temperature coming from the motor driving board and 6 channels of pwm control signals going to the motor driving circuit. either pfc_pwm or dissipative_brake signal can be enabled by setting jumper jp13. table 6. lin related jumpers jumper description jp11 lin1 operates in master mode when jp11 is set as shown: this is the default setting. lin1 operates in slave mode when jp11 is set as shown: jp12 lin2 operates in master mode when jp12 is set as shown: lin2 operates in slave mode when jp12 is set as shown: this is the default setting. 1 2 3 1 2 3 1 2 3 1 2 3 table 7. motor control related configuration jumper/resis tor description jp13 pfc_pwm signal is enabled and connected to pd0 when jp13 is set as shown: this is the default setting. dissipative_brake signal is enabled and connected to pd0 when jp13 is set as shown: 1 2 3 1 2 3
um0482 hardware layout and configuration 11/41 1.10 smartcard stmicroelectronics smartcard interface chip st8024 is used on stm8/128-eval board for asynchronous 3v and 5v smartcards. it perfor ms all supply protection and control functions based on the connections with stm8s2xx listed in ta bl e 8 : 1.11 microsd card the 64mbyte (or 128mbyte) microsd card sms064ff (or sms128ff) connected to the spi of stm8s2xx through a voltage level translator u11 (shared with lcd) is available on the board. microsd card chip select is managed by standard io port pe5 and the card present is detected by port pe4. 1.12 analog input one bnc connector cn3 is connected to pf4, the adc2 channel 12 of stm8s2xx as external analog input. jp9 jp9 should be kept open when encoder signal is from pin 31 of cn10 while it should be kept closed when analog signal is from pin 31 of cn10 for special motor. default setting: not fitted r75 this 47k must be removed from the board to enable encoder phase a feature for motor control applications. the location of this resistor is indicated in figure 3 on page 5 . table 7. motor control related configuration (continued) jumper/resis tor description table 8. connection between st8024 and stm8s2xx jumper description 5v/3v smartcard power supply selection pin. pg4 i/ouc mcu data i/o line pa5 through channel2 of multiplexer u17 xtal1 crystal or external clock input pa6 off detect presence of a card , interrupt to mcu pe0 rstin card reset input from mcu pg5 cmdvcc start activation sequence input (active low) pg7
hardware layout and configuration um0482 12/41 1.13 irda irda communication is supported by the irda transceiver u14 connected to the uart1 of stm8s2xx through channel 1 of multiplexer u17. it can be enabled or disabled by setting jp10: 1.14 development and debug support the debug connectors available on the stm8/128-eval evaluation board are: cn2, 120-pin samtec connector that supports stice, the advanced emulation system from stmicroelectronics. the jp1 jumper must connect pin 2 together with pin 3 when stice is present, as described in table 2: reset related jumpers . cn4, erni 4-pin connector for swim debugging cn17, 2.54mm pitch low-cost 4-pin connector footprint for swim debugging (not populated) 1.15 display and input devices the 122x32 dot-matrix serial interface lcd (u13) and 4 general purpose leds (ld1, 2, 3, 4) are available as display devices. the lcd backlight can be switched on or off by setting io ph4. a 4-direction joystick with selection key and general purpose button (b2) are available as input devices. table 9. irda related jumpers jumper description jp10 jp10 is used to shut down the irda transceiver. irda is enabled when jp10 is fitted, while irda is disabled when jp10 is not fitted. default status: fitted. table 10. lcd modules 122x32 dot matrix lcd u13 pin on u13 description pin connection 1 vss gnd 2 vcc +5v 3vo - 4clkpc5 5sidpc6 6cspf0 7a+5v 8 k to gnd through a transistor
um0482 connectors 13/41 2 connectors 2.1 stice connector cn2 figure 5. stice debugging connector cn2 (top view) table 11. stice debugging connector (cn2) pin description pin number description p in number description 1 pa0 2 pa1 3pa2 4gnd 5 gnd 6 vcap 75v 85v 9pa3 10pa4 11 pa5 12 pa6 13 ph0 14 ph1 15 ph2 16 ph3 17 pf7 18 pf6 19 pf5 20 pf4 21 pf3 22 pf2 23 5v vdda 24 gnd 25 pf1 26 pf0 27 pb7 28 pb6 29 pb5 30 pb4 31 pb3 32 pb2 33 pb1 34 pb0 35 ph4 36 ph5 37 ph6 38 ph7 39 pe7 40 pe6 41 pe5 42 pc0 43 pc1 44 pc2 45 pc3 46 pc4 47 pc5 48 gnd
connectors um0482 14/41 2.2 analog input connector cn3 figure 6. analog input connector cn3 (bottom view) 49 5v 50 pc6 51 pc7 52 pg0 53 pg1 54 pg2 55 pg3 56 pg4 57 pi0 58 nc 59 nc 60 nc 61 pi2 62 pi1 63 pi4 64 pi3 65 pg5 66 pi5 67 pg7 68 pg6 69 pe3 70 pe4 71 pe1 72 pe2 73 pi6 74 pe0 75 pd0 76 pi7 77 pd2 78 pd1 79 pd4 80 pd3 81 pd6 82 pd5 83 nc 84 pd7 85-120 nc table 11. stice debugging connector (cn2) pin description (continued) pin number description p in number description table 12. analog input connector cn3 pin description pin number description p in number description 1 gnd 4 gnd 2 gnd 5 analog input/pf4 3gnd 1 2 3 4
um0482 connectors 15/41 2.3 swim connectors cn4 and cn17 figure 7. swim debugging connector cn4 (top view) 2.4 power connector cn6 your stm8/128-eval evaluation board can be powered from a dc 5v power supply via the external power supply jack (cn6) shown in figure 8 . the central pin of cn6 must be positive. figure 8. power supply connector cn6 (front view) 2.5 audio jack cn7 a 3.5mm mono audio jack cn7 is available on the stm8/128-eval board. the speaker u5 is bypassed when an earphone is plugged into cn7. table 13. swim debugging connector cn4 and cn17 pin description pin number description p in number description 1vdd 2pd1 3 gnd 4 pa0 (reset) 1 2 3 4 dc +5v gnd
connectors um0482 16/41 2.6 can d-type 9-pin male connector cn8 figure 9. can d-type 9-pins male connector cn8 (front view) 2.7 microsd connector cn9 figure 10. microsd connector cn9 (front view) table 14. can d-type 9-pins male connector cn8 pin description pin number description p in number description 1,4,8,9 nc 7 canh 2 canl 3,5,6 gnd table 15. microsd connector cn9 pin description pin number description p in number description 1 reserved 5 sclk/pc5 2 cs/pe5 6 vss/gnd 3 di/pc6 7 do/pc7 4 vdd 8 reserved 9 gnd 10 pe4 to detect card present
um0482 connectors 17/41 2.8 motor control connector cn10 figure 11. motor control connector cn10 (top view) table 16. motor control connector cn10 pin description description pin of stm8s2xx pin number of cn10 pin number of cn10 pin of stm8s2xx description emergency stop pe3 1 2 gnd pwm-uh pc1 3 4 gnd pwm-ul ph7 5 6 gnd pwm-vh pc2 7 8 gnd pwm-vl ph6 9 10 gnd pwm-wh pc3 11 12 gnd pwm-wl ph5 13 14 pb3 bus voltage phase a current pb2 15 16 gnd phase b current pb1 17 18 gnd phase c current pb0 19 20 gnd ntc bypass relay pg2 21 22 gnd d i s s i pat i v e brake pwm pd0 shared with pin29 23 24 gnd +5v power 25 26 pe7 heatsink temperature pfc sync pd2 27 28 3.3v power pfc pwm pd0 shared with pin23 29 30 gnd encoder a pd3 31 32 gnd encoder b pd4 33 34 pa3 encoder index 33 31 29 27 25 23 21 19 17 15 13 11 9 7 5 3 1 34 32 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2
connectors um0482 18/41 2.9 lin connectors cn11 and cn14 figure 12. lin connector cn11 (lin1) and cn14 (lin2) front view 2.10 smartcard connector cn12 figure 13. smartcard connector cn12 (front view) table 17. lin connector cn11 (lin1) and cn14 (lin2) pin connection pin number description p in number description 1nc 6nc 2 nc 7 lin wire 3gnd 8nc 4 nc 9 battery power input 5nc table 18. smartcard connector cn12 pin description pin number description p in number description 1vcc 5gnd 2rst 6nc 3clk 7i/o 4nc 8nc 9 detection pin of card presence 10 detection pin of card presence 1234 910 5678
um0482 connectors 19/41 2.11 rs-232 connectors cn13 and cn15 figure 14. rs-232 connectors cn13 and cn15 (top view) 2.12 qst connector cn16 the qst connector is designed to be connec ted to the qst evaluation board powered by dc 1.8v to 5v. figure 15. qst connector cn16 (front view) table 19. rs-232 connector cn13 and cn15 pin description pin number description p in number description 1 nc 6 connect to pin 4 2 usart_rxd 7 connect to pin 8 3 usart_txd 8 connect to pin 7 4 connect to pin 6 9 nc 5gnd table 20. qst connector cn16 pin description pin number description p in number description 1+5v 2+5v 3 pe1 4 pc5 5 pe2 6 pc6 7pa3 8pc7 9pi0 10pi1 11 pd3 12 qst_vdd 13 gnd 14 gnd 13 11 9 7 5 3 1 14 12 10 8 6 4 2
connectors um0482 20/41 2.13 daughter board extension connectors cn1 and cn5 two 50-pin male headers cn1 and cn5 can be used to connect a daughter board or standard wrapping board to the stm8/128-eval evaluation board. all gpi/os are available on it. the space between the two connectors and the position of the power, gnd and reset pins (marked in gray in ta bl e 2 1 and ta bl e 2 2 ) are defined as a standard which allows to develop common daughter boards for several evaluations boards. the standard width between cn1 pin1 and cn5 pin1 is 2700mils (68.58mm). this standard is implemented on the majority of evaluation boards. each pin on cn1 and cn5 can be used by a daughter board after disconnecting it from the corresponding function block on the stm8/128-eval evaluation board. please refer to ta bl e 2 1 and ta b l e 2 2 for details. table 21. daughter board extension connector cn1 pin (1) description alternative function how to disconnect function block on stm8/128-eval board 1 gnd - - 3 pi6 dip-switch 6 keep s2 off and remove r99. 5 pe1 i2c eeprom remove r95 7 pe3 mc connector pin1 disconnect stm8/128-eval evaluation board from motor power drive board, remove r60. 9 pg7 smartcard_cmdvcc - 11 pg5 smartcard_rst - 13 pi4 dip-switch 4 keep s2 off and remove r58. 15 pi2 dip-switch 2 keep s1 off and remove r9. 17 pi0 dip-switch 0 keep s1 off and remove r7. 19 gnd - - 21 pg2 mc connector pin21 disconnect stm8/128-eval evaluation board from motor power drive board 23 pg0 can_tx - 25 pc6 spi mosi remove r34 27 pc4 pwm to speaker - 29 pc3 mc connector pin11 disconnect stm8/128-eval evaluation board from motor power drive board 31 nc - - 33 pc1 mc connector pin3 disconnect stm8/128-eval evaluation board from motor power drive board 35 pe5 sd card select remove r34 37 pe7 mc connector pin26 disconnect stm8/128-eval evaluation board from motor power drive board, remove c33. 39 gnd - - 41 ph5 mc connector pin13 disconnect stm8/128-eval evaluation board from motor power drive board 43 nc - -
um0482 connectors 21/41 45 nc - - 47 nc - - 49 d5v - - 2 pi7 dip-switch 7 keep s2 off and remove r102. 4 pe0 smartcard_off remove r76. 6 pe2 i2c eeprom remove r96. 8 pe4 microsdcard detect remove r101. 10 gnd - - 12 pg6 lin multiplexer 1 remove r97 14 pi5 dip-switch 5 keep s2 off and remove r59. 16 pi3 dip-switch 3 keep s1 off and remove r10. 18 pi1 dip-switch 1 keep s1 off and remove r8. 20 pg4 smartcard_3/5v - 22 pg3 lin_2_en - 24 pg1 can_rx remove r43. 26 pc7 spi miso remove r34. 28 pc5 spi clk remove r34. 30 gnd - - 32 nc - - 34 pc2 mc connector pin7 disconnect stm8/128-eval evaluation board from motor power drive board. 36 pc0 push_button remove r4. 38 pe6 potentiometer remove r5. 40 ph7 mc connector pin5 disconnect stm8/128-eval evaluation board from motor power drive board. 42 ph6 mc connector pin9 disconnect stm8/128-eval evaluation board from motor power drive board. 44 ph4 - - 46 nc - - 48 +3v3 - - 50 gnd - - 1. the power, ground and reset pins are marked in gray. table 21. daughter board extension connector cn1 (continued) pin (1) description alternative function how to disconnect function block on stm8/128-eval board
connectors um0482 22/41 table 22. daughter board extension connector cn5 pin (1) description alternative function how to disc onnect component on stm8/128-eval board 1 gnd - - 3pd1swim - 5 pd3 mc connector pin31 keep jp9 on open, remove r75. 7 pd5 uart3_tx remove r91. 9 pd7 joy_select remove r39. 11 pa0/reset reset# button pa0 available on pin 12. 13 pa2 oscout remove x1 from socket. 15 pa4 uart1_rx remove r90. 17 pa6 uart1_ck - 19 d5v - - 21 nc - - 23 nc - - 25 ph1 ld3 remove r13. 27 ph3 ld1 remove r15. 29 pf6 usart_multiplexer2 remove r69. 31 pf5 usart_multiplexer1 remove r68. 33 pf3 mic_in remove r21. 35 pf1 vref- remove r46. 37 pb7 joy_dowm remove r40. 39 gnd - - 41 pb4 joy_left remove r41. 43 pb2 mc connector pin15 disconnect stm8/128-eval evaluation board from motor power drive board. 45 pb0 mc connector pin19 disconnect stm8/128-eval evaluation board from motor power drive board. 47 nc - - 49 nc - - 2pd0 mc connector pin29 or pin23 keep jp13 open. 4 pd2 mc connector pin27 disconnect stm8/128-eval evaluation board from motor power drive board. 6 pd4 mc connector pin33 disconnect stm8/128-eval evaluation board from motor power drive board. 8 pd6 uart3_rx remove r91. 10 gnd - - 12 pa0 reset# button keep jp1 open.
um0482 connectors 23/41 14 pa1 oscin remove x1 from socket. 16 pa3 mc connector pin34 disconnect stm8/128-eval evaluation board from motor power drive board. 18 pa5 uart1_tx remove r90. 20 nc - - 22 ph0 ld4 remove r12. 24 nc - - 26 ph2 ld2 remove r14. 28 pf7 lin1_en - 30 gnd - - 32 pf4 bnc connector - 34 pf2 vref+ remove r74. 36 pf0 lcd_cs - 38 pb6 joy_up remove r44. 40 pb5 joy_right remove r42. 42 pb3 mc connector pin14 disconnect stm8/128-eval evaluation board from motor power drive board. remove r66 and c32. 44 pb1 mc connector pin17 disconnect stm8/128-eval evaluation board from motor power drive board. 46 nc - - 48 nc - - 50 gnd - - 1. the power, ground and reset pins are marked in gray. table 22. daughter board extension connector cn5 (continued) pin (1) description alternative function how to disc onnect component on stm8/128-eval board
schematics um0482 24/41 3 schematics this section provides the design schematics for the stm8/128-eval board key features, to help you implement these features in your applications. schematics are provided for: microcontroller connections, see figure 16 mcu, see figure 17 lcd, joystick, can and i 2 c eeprom connections, see figure 18 multiplexer, see figure 19 audio peripherals, see figure 20 motor control, see figure 21 stice connector and extension connectors, see figure 22 qst connector, see figure 23 lin connectors, see figure 24 uart and irda connectors, see figure 25 smartcard connections, see figure 26 power supply, see figure 27
um0482 schematics 25/41 figure 16. microcontroller connections 1 1 2 2 3 3 4 4 d d c c b b a a stmicroelectronics tit le: number: rev: sheet of d. 2(pcb. sc h) date: 2008-08-28 mc_ena mc_enb mc_ busvo ltag e spi1_sck spi1_miso spi1_mosi mc_pfcsync mc_pfcpwm aud io_ pwm smartcard_rst smartcard_clk mc_enc jo y_d own mc_dissipativebrake jo y_se l smartcard_3/5v mc_ntc jo y_u p can_tx can_rx mc_emergencystop smartcard_off mc_wl mc_vh mc_vl mc_uh mc_ul smartcard_cmdvcc jo y_l eft jo y_righ t mc_wh lcd_ cs microsdcard_cs mc_currentc mc_currentb mc_currenta mc_heatsinktemperature mic_in ua rt1 _t x ua rt1 _rx ua rt3 _t x ua rt3 _rx i2c_slk i2c_sda usart_multiplexer_1 usart_multiplexer_2 lin _mu lt ip lex er_1 lin _e n_ 1 lin _e n_ 2 microsdcard_detect lcd_ back lig ht beeper pa[0..6] pb[0..7] pc[0..7] pd[0..7] pe[0..7] pf[0..7] pg[0..7] ph[0..7] pi[0..7] vcap reset# u_ mcu mcu.schdoc aud io_ pwm mic_in beeper u_ audi o aud io. sch doc mc_emergencystop mc_currenta mc_currentb mc_currentc mc_pfcsync mc_wl mc_vh mc_vl mc_uh mc_ul mc_wh mc_ntc mc_ dis sip ativebrake mc_pfcpwm mc_ena mc_enb mc_heatsinktemperature mc_ busvo ltag e mc_enc u_ mo torctrl motorctrl.schdoc jo y_se l jo y_d own jo y_l eft jo y_righ t jo y_u p can_tx can_rx spi1_sck spi1_miso spi1_mosi microsdcard_cs lcd_ cs i2c_slk i2c_sda microsdcard_detect lcd_ back lig ht u_ joy _lcd _sdcard_can_ eeprom joy_lcd_sdcard_can_eeprom.schdoc stm8/128-eval mb631 1 12 u_ po wer power.schdoc pa[0..6] pb[0..7] pc[0..7] pd[0..7] pe[0..7] pf[0..7] pg[0..7] ph[0..7] pi[0..7] vcap reset# u_stice_exconnector stice_exconnector.schdoc pa[0..6] pc[0..7] pd[0..7] pe[0..7] pi[0..7] u_qst_connector qst_connector.schdoc lin_ en_ 1 lin1 _tx lin1 _rx lin_ en_ 2 lin2 _tx lin2 _rx u_ lin lin. sch doc irda_tx irda_rx muart1_ tx muart1_rx muart3_ tx muart3_rx u_ uart_irda uart_ ird a.schdo c usart_ mu lti plexer_1 usart_ mu lti plexer_2 lin_ mu lti plex er_ 1 uart1 _tx uart1 _rx uart3 _tx uart3_rx lin1 _tx lin1 _rx irda_tx irda_rx smartcard_i/o muart1_ tx muart1_rx lin2 _tx lin2 _rx muart3_tx muart3_ rx u_uart_lin_irda_smartcard uart_lin_irda_smartcard.schdoc smartcard_3/5v smartcard_rst smartcard_clk smartcard_off smartcard_cmdvcc smartcard_i/o u_smartcard smartcard.schdoc rev d. 2 modi ficatio n: u art , ti mers & a dc names up date
schematics um0482 26/41 figure 17. mcu 1 1 2 2 3 3 4 4 d d c c b b a a stmicroelectronics tit le: number: rev: sheet of d. 2(pcb. sc h) date: 2008-08-28 stm8/128-eval mcu mb631 2 12 1 4 3 2 b1 reset r1 10 k +5v c1 10 0nf c5 20 pf c4 20 pf x1 24 mh z (w ith so ck e t) r2 1m reset# mc_ena mc_enb mc_busvoltage spi1_sck spi1_miso spi1_mosi mc_pfcsync mc_pfcpwm aud io_ pwm smartcard_rst smartcard_clk mc_enc jo y_d own mc_ dis sip ativebrake jo y_se l smartcard_3/5v mc_ntc jo y_u p can_tx can_ rx mc_emergencystop smartcard_off mc_wl mc_vh mc_vl mc_uh mc_ul smartcard_cmdvcc jo y_l eft jo y_righ t mc_wh lcd_ cs microsdcard_cs mc_currentc mc_currentb mc_currenta mc_heatsinktemperature 1 2 ld 2 red 1 2 ld 3 red 1 2 ld 1 red 1 2 ld 4 red r12 1k r13 1k r14 1k r15 1k 1 2 3 4 5 cn3 vb33 4 mic_in 1 3 2 rv1 10 k r5 0 +5v r3 4k 7 1 4 3 2 b2 user c2 10 0nf +5v r11 10 0 r4 0 c6 47 0nf uart1 _tx uart1_rx pd0 pd1 pd2 pd3 pd4 pd5 pd6 pd7 1 3 5 7 8 6 4 2 s1 sw +5v +5v uart3 _tx uart3_rx pa1 pa2 pa3 pa4 pa5 pa6 pb0 pb1 pb2 pb3 pb4 pb5 pb6 pb7 pc0 pc1 pc2 pc3 pc4 pc5 pc6 pc7 l1 bead c7 10 uf c10 10 nf jp2 +5v i2c_slk i2c_sda pe0 pe1 pe2 pe3 pe4 pe5 pe6 pe7 pf0 pf1 pf2 pf3 pf4 pf5 pf6 pf7 usart_ mu lti plexer_1 usart_ mu lti plexer_2 pg0 pg1 pg2 pg3 pg4 pg5 pg6 pg7 ph0 ph1 ph2 ph3 ph4 ph5 ph6 ph7 lin_ mu lti plex er_ 1 pi0 pi1 pi2 pi3 pi4 pi5 pi6 pi7 lin_ en_ 1 lin_ en_ 2 pa0 r7 0 vcap 3 2 1 jp1 3 c68 10 0nf r98 60 microsdcard_detect r101 0 r8 0 r9 0 r10 0 r58 0 r59 0 r99 0 r102 0 7 5 3 1 8 6 4 2 rp3 50 sw0 sw1 sw2 sw3 sw4 sw5 sw6 sw7 sw0 sw1 sw2 sw3 sw4 sw5 sw6 sw7 c71 10 0nf c72 10 0nf c73 10 0nf +5v_mcu 3 2 1 jp1 7 5 3 1 8 6 4 2 rp1 10 k 7 5 3 1 8 6 4 2 rp2 10 k 7 5 3 1 8 6 4 2 rp4 50 1 3 5 7 8 6 4 2 s2 sw lcd_ back lig ht beeper nrst 1 pa1/oscin 2 pa2/oscout 3 vssio_1 4 vss 5 vcap 6 vdd 7 vdd io_1 8 pa3/ tim2 _ch3 9 pa4/uart1_rx 10 pa5/uart1_tx 11 pa6/uart1_ck 12 ph0 13 ph1 14 ph2 15 ph3 16 pf7/ain15 17 pf6/ain14 18 pf5/ain13 19 pf4/ain12 20 pf3/ain11 21 pf2/vref+ 22 vdd a 23 vssa 24 pf1/vref- 25 pf0/ain10 26 pb7/ain7 27 pb6/ain6 28 pb5/ain5 29 pb4/ain4 30 pb3/ain3 31 pb2/ain2 32 pb1/ain1 33 pb0/ain0 34 ph4/ tim1 _et r 35 ph5/ tim1 _nch 3 36 ph6/ tim1 _nch 2 37 ph7/ tim1 _nch 1 38 pe7/ain8 39 pe6/ ain9 40 pe5/spi_nss 41 pc0/adc_etr 42 pc1/tim1_ch1 43 pc2/tim1_ch2 44 pc3/tim1_ch3 45 pc4/tim1_ch4 46 pc5/spi_sck 47 vssio_2 48 vdd io_2 49 pc6/spi_mosi 50 pc7/spi_miso 51 pg0/can_tx 52 pg1/can_rx 53 pg2 54 pg3 55 pg4 56 pi0 57 pi1 58 pi2 59 pi3 60 pi4 61 pi5 62 pg5 63 pg6 64 pg7 65 pe4 66 pe3/ tim1 _bkin 67 pe2/i2c_sda 68 pe1/i2c_scl 69 pe0/mco 70 pi6 71 pi7 72 pd0/tim3_ch2 73 pd1/swim 74 pd2/tim3_ch1 75 pd3/ tim2 _ch2 76 pd4/ tim2 _ch1 _beep 77 pd5/uart3_tx 78 pd6/uart3_rx 79 pd7/tli 80 u1 stm8s2xx 1 2 3 4 cn17 609-1306-nd(do not fit) 1 2 3 4 cn4 214017 reset# r6 0 swi m connec tor swim connector +5v_ vdda r74 0 r46 0 pa[0..6] pa[0..6] pb[0..7] pb[0..7] pc[0..7] pc[0..7] pd[0..7] pd[0..7] pe[0..7] pe[0..7] pf[0..7] pf[0..7] pg[0..7] pg[0..7] ph[0..7] ph[0..7] pi[0..7] pi[0..7] vcap vcap reset# reset# +5v_mcu +5v_vdda
um0482 schematics 27/41 figure 18. lcd, joystick, can and i 2 c eeprom connections 1 1 2 2 3 3 4 4 d d c c b b a a stmicroelectronics tit le: number: rev: sheet of d. 2(pcb. sc h) date: 2008-08-28 +3v3 r57 4k 7 +3v3 sms064ff or sms128ff vss 1 vcc 2 vo 3 clk 4 sid 5 cs 6 a 7 k 8 u1 3 hxm122032-gb1 (5v) +5v r104 0 +5v +5v c30 10 0nf r50 10 k r51 10 k r52 10 k r53 10 k r49 10 k +5v c29 100nf c28 100nf c27 100nf c26 100nf c25 100nf r48 10 0 common 5 selection 2 dw on 3 le ft 1 right 4 up 6 u9 mt008 -a r44 0 r42 0 r41 0 r40 0 r39 0 jo y_se l jo y_d own jo y_l eft jo y_righ t jo y_u p r55 do not fit +3v3 +5v r54 12 0 jp7 3 2 1 jp6 +5v c24 10 0nf r33 10 k r56 0 r43 0 can_tx can_rx vl 1 iovl_1 2 iovl_2 3 iovl_3 4 iovl_4 5 nc 6 gn d 7 thre e_stat e 8 nc 9 iovcc_4 10 iovcc_3 11 iovcc_2 12 iovcc_1 13 vcc 14 u1 1 max3378eeud tx0 1 gn d 2 vs 3 rx0 4 rx1 5 c_l 6 c_h 7 asc 8 u1 0 l9 616 d spi1_sck spi1_miso spi1_mosi microsdcard_cs +5v +3v3 lcd_ cs r35 do not fit +3v3 e0 1 e1 2 e2 3 vss 4 sda 5 scl 6 wc 7 vcc 8 u1 2 m24c64-wmn6 +5v r36 10 k jp8 +5v r37 4k 7 r38 4k 7 i2c_slk i2c_sda stm8/128-eval joy_lcd_sd_can_eeprom mb631 3 12 r34 0 c67 10 0nf c66 100nf 1 6 2 7 3 8 4 9 5 cn8 db9-male can co nnecto r r95 0 r96 0 joystick can microsd card lcd i2c eeprom 1 3 2 rv4 50 k(do not fit) 1 2 3 4 5 6 7 8 sw2 9 sw1 10 cn9 pjs008-2000 r100 10 k +5v microsdcard_detect 2 3 1 t1 90 13 r103 1k lcd_ back lig ht r107 do not fit +5v
schematics um0482 28/41 figure 19. multiplexer 1 1 2 2 3 3 4 4 d d c c b b a a stmicroelectronics tit le: number: rev: sheet of d. 2(pcb. sc h) date: 2008-08-28 y0 1 y2 2 y_ co m 3 y3 4 y1 5 inh 6 vee 7 gn d 8 b 9 a 10 x3 11 x0 12 x_ co m 13 x1 14 x2 15 vcc 16 u1 7 m74h c4 052 m1 r y0 1 y2 2 y_ co m 3 y3 4 y1 5 inh 6 vee 7 gn d 8 b 9 a 10 x3 11 x0 12 x_ co m 13 x1 14 x2 15 vcc 16 u1 8 m74h c4 052 m1 r usart_ mu lti plexer_1 usart_ mu lti plexer_2 lin_ mu lti plex er_ 1 uart1 _tx uart1 _rx uart3 _tx uart3 _rx +5v +5v r70 10 k +5v r71 10 k +5v r69 10 k r68 10 k r90 0 r91 0 r97 10 k +5v mux lin1 _tx lin1 _rx irda_tx irda_rx smartcard_i/o muart1_tx muart1_rx lin2 _tx lin2 _rx muart3_tx muart3_rx stm8/128-eval mux mb631 4 12
um0482 schematics 29/41 figure 20. audio peripherals 1 1 2 2 3 3 4 4 d d c c b b a a stmicroelectronics tit le: number: rev: sheet of d. 2(pcb. sc h) date: 2008-08-28 1 2 u8 ke cg 274 0tbl 2 1 u5 kd mg 150 08-03 +5v c21 1u f c22 1u f c19 2.2 uf r23 1k r26 1k standby 1 bypass 2 vin + 3 vin - 4 uo ut1 5 vcc 6 gn d 7 vou t2 8 u6 ts48 71ist r27 10 k jp4 +5v +5v c13 10 0nf c15 15 0nf r31 22 k r29 10 0k c14 47 0pf c18 2.2 uf c17 10 0uf c16 33 nf r30 1.2 k tp5 aud io tp6 mic_out tp7 mic+ g2 1 ou t 3 shdn 2 vcc 4 in+ 5 in- 6 gn d 7 g1 8 u7 max4061eta+t r22 1k r24 1k r25 1k c20 2.2 uf +5v tp8 mic- r28 10 k +5v jp5 r32 0(do n?t so lder) r19 0 1 3 2 rv2 50 k 1 3 2 rv3 20 k speaker+ speaker- 1 10 2 cn7 st-613 c23 do not fit r20 0 r21 0 aud io_ pwm mic_in stm8/128-eval audio mb631 5 12 speaker microphone beeper 3 2 1 jp1 4 tp15 beep
schematics um0482 30/41 figure 21. motor control 1 1 2 2 3 3 4 4 d d c c b b a a stmicroelectronics tit le: number: rev: sheet of d. 2(pcb. sc h) date: 2008-08-28 r67 3.3 k c31 1n f +5v +3v3 +5v r60 0 c32 10 0nf c33 10 0nf r62 0 c34 do not fit c35 do not fit c36 do not fit c41 do not fit c39 do not fit c42 10 nf c40 do not fit c37 do not fit r64 0 r65 0 r61 0 r63 0 emerge ncy sto p 1 mc-uh 3 mc_ul 5 mc_vh 7 mc_vl 9 mc_wh 11 mc_wl 13 current a 15 current c 19 current b 17 ntc b y pa ss r e lay 21 dissipative brake 23 +5v power 25 pfc sync 27 pfc pwm 29 en co der a 31 en co der b 33 gn d 2 gn d 4 gn d 6 gn d 8 gn d 10 gn d 12 bus voltage 14 gn d 16 gn d 18 gn d 20 gn d 22 gn d 24 heatsink temperature 26 3.3 v pow er 28 gn d 30 gn d 32 en co der index 34 cn10 mc_connector mc_emergencystop mc_currenta mc_currentb mc_currentc mc_pfcsync mc_wl mc_vh mc_vl mc_uh mc_ul mc_wh mc_ntc mc_ dis sip ativebrake mc_pfcpwm mc_ena mc_enb mc_ heatsi nkt emperature mc_busvoltage mc_enc r66 10 0k jp9 stm8/128-eval motor control mb631 6 12 c38 do not fit motor control r45 10 k
um0482 schematics 31/41 figure 22. stice connector and extension connectors 1 1 2 2 3 3 4 4 d d c c b b a a stmicroelectronics tit le: number: rev: sheet of d. 2(pcb. sc h) date: 2008-08-28 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 10 1 102 10 3 104 10 5 106 10 7 108 10 9 110 11 1 112 11 3 114 11 5 116 11 7 118 11 9 120 g1 g4 g1 g4 g2 g3 g2 g3 cn2 qth-060-01-l-d-a r16 82 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 cn1 header 25 x2 on t he left 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 cn5 header 25x2 on the right +3v3 d5 v d5 v pe0 2 e p 1 e p 4 e p 3 e p pe5 pe6 pe7 pf0 pf1 pf2 pf3 pf4 pf5 pf6 pf7 1 g p 0 g p 3 g p 2 g p pg4 6 g p 5 g p pg7 ph0 2 h p 1 h p ph3 ph4 6 h p 5 h p ph7 1 i p 0 i p 3 i p 2 i p 5 i p 4 i p pi6 pi7 pd0 2 d p 1 d p 4 d p 3 d p 6 d p 5 d p pd7 pa1 pa2 pa3 pa4 pa5 pa6 pb0 pb1 pb2 pb3 pb4 pb5 pb6 pb7 pc0 2 c p 1 c p pc3 5 c p 4 c p 7 c p 6 c p pa0 reset# pe0 2 e p 1 e p 4 e p 3 e p pe5 pe6 pe7 pf0 pf1 pf2 pf3 pf4 pf5 pf6 pf7 pg0 2 g p 1 g p 4 g p 3 g p pg5 pg6 pg7 1 h p 0 h p 3 h p 2 h p 5 h p 4 h p 7 h p 6 h p pi0 pi1 pi2 pi3 pi4 pi5 pi6 pi7 pd0 pd1 pd2 pd3 pd4 pd5 pd6 pd7 pa1 pa2 4 a p 3 a p 6 a p 5 a p pb0 pb1 pb2 pb3 pb4 pb5 pb6 pb7 pc0 2 c p 1 c p 4 c p 3 c p pc5 pc6 pc7 reset# vca p exension connector stice connector pa[0..6] pa[0..6] pb[0..7] pb[0..7] pc[0..7] pc[0..7] pd[0..7] pd[0..7] pe[0..7] pe[0..7] pf[0..7] pf[0..7] pg[0..7] pg[0..7] ph[0..7] ph[0..7] pi[0..7] pi[0..7] vcap vcap +5v_mcu +5v_mcu +5v_mcu +5v_ vdda reset# reset# stm8/128-eval stice&extension connector mb631 7 12
schematics um0482 32/41 figure 23. qst connector 1 1 2 2 3 3 4 4 d d c c b b a a stmicroelectronics tit le: number: rev: sheet of d. 2(pcb. sc h) date: 2008-08-28 +5v +5v pc5 pc6 pc7 pa3 pi0 pi1 +5v 1 +5v 2 i2c_scl/kout1 3 spi_scl/kout2 4 i2c_sda /ko ut3 5 spi_mosi/kout4 6 nirq/ kou t5 7 spi_miso/kout6 8 ko ut7 9 spi_cs/kout8 10 reset 11 vdd _qst 12 vss 13 vss 14 cn16 qst(he 10x 14) pd3 vdd _qst qst_ pin 4 qst_ pin 6 qst_ pin 8 qst_ pin 10 qst_ pin 7 qst_ pin 9 vdd _qst qst_ pin 4 qst_ pin 6 qst_ pin 8 qst_ pin 10 qst_ pin 7 qst_ pin 9 qst_ pin 3 qst_ pin 5 c74 10 0nf c75 10 0nf qst_ pin 3 qst_ pin 5 pe1 pe2 r47 do not fit vl 1 iovl_1 2 iovl_2 3 iovl_3 4 iovl_4 5 nc 6 gn d 7 thre e_stat e 8 nc 9 iovcc_4 10 iovcc_3 11 iovcc_2 12 iovcc_1 13 vcc 14 u2 2 max3378eeud +5v vdd _qst c65 10 0nf c64 10 0nf vl 1 iovl_1 2 iovl_2 3 iovl_3 4 iovl_4 5 nc 6 gn d 7 three_state 8 nc 9 iovcc_4 10 iovcc_3 11 iovcc_2 12 iovcc_1 13 vcc 14 u2 1 max33 78e eud +5v r75 47 k vdd _qst c77 10 uf pa[0..6] pa[0..6] pc[0..7] pc[0..7] pd[0..7] pd[0..7] pe[0..7] pe[0..7] pi[0..7] pi[0..7] stm8/128-eval qst mb631 8 12 r77 1m n ote: the r75 have to be removed for motor contro l ap pli cat ion based on mc conn ect or cn1 0.
um0482 schematics 33/41 figure 24. lin connectors 1 1 2 2 3 3 4 4 d d c c b b a a stmicroelectronics tit le: number: rev: sheet of d. 2(pcb. sc h) date: 2008-08-28 rxd 1 en 2 wu p 3 txd 4 gn d 5 lin 6 vs 7 inh 8 u1 5 l9 638 d 1 6 2 7 3 8 4 9 5 cn11 db9-male lin 1 d1 bat48zfilm c43 10 0nf r72 4k 7 lin_en_1 lin_1 r79 1k c59 22 0pf 1 2 3 jp1 1 c69 1n f d3 bat48zfilm lin1 _tx lin1 _rx rxd 1 en 2 wu p 3 txd 4 gn d 5 lin 6 vs 7 inh 8 u1 6 l9 638 d 1 6 2 7 3 8 4 9 5 cn14 db9-male lin 2 d2 bat48zfilm r80 1k c53 10 0nf c60 22 0pf r73 4k 7 lin_ en_ 2 lin_2 1 2 3 jp1 2 c70 1n f d4 bat48zfilm lin2 _tx lin2 _rx stm8/128-eval lin mb631 9 12
schematics um0482 34/41 figure 25. uart and irda connectors 1 1 2 2 3 3 4 4 d d c c b b a a stmicroelectronics tit le: number: rev: sheet of d. 2(pcb. sc h) date: 2008-08-28 sd 5 txd 3 gn d 8 ano de (vcc2) 1 cathode 2 rxd 4 vcc1 6 vlo gic 7 u1 4 tfdu 430 0 r88 5 r89 47 c57 0.1 uf c58 0.1 uf +5v c56 4.7 uf c55 4.7 uf r81 10 k +5v jp1 0 irda irda_tx irda_rx r2ou t 9 r2in 8 t1i n 11 r1ou t 12 t1o ut 14 r1in 13 t2i n 10 t2o ut 7 c1+ 1 c1- 3 c2+ 4 c2- 5 v+ 2 v- 6 vcc 16 gn d 15 u2 0 st32 32e ct r c49 10 0nf c52 0.4 7uf c51 0.3 3uf c50 0.3 3uf c54 0.3 3uf +5v 1 6 2 7 3 8 4 9 5 cn13 db9-male ua rt 1 r92 do not fit 1 6 2 7 3 8 4 9 5 cn15 db9-male ua rt 3 r93 do not fit rs232 muart1_tx muart1_rx muart3_tx muart3_rx stm8/128-eval uart&irda mb631 10 12
um0482 schematics 35/41 figure 26. smartcard connections 1 1 2 2 3 3 4 4 d d c c b b a a stmicroelectronics tit le: number: rev: sheet of d. 2(pcb. sc h) date: 2008-08-28 vcc 1 rst 2 clk 3 nc 4 gn d 5 nc 6 i/o 7 nc 8 18 17 cn12 c816 clkdiv1 1 clkdiv2 2 5v/ 3v 3 pgnd 4 c1+ 5 vdd p 6 c1- 7 vup 8 pres 9 pres 10 i/o 11 aux 2 12 aux 1 13 cgnd 14 clk 15 rst 16 vcc 17 poradj 18 cmdvcc 19 rstin 20 vdd 21 gnd 22 off 23 xta l1 24 xta l2 25 i/ouc 26 aux 1uc 27 aux 2uc 28 u1 9 st80 24cdr c44 10 0nf c45 10 0nf c63 33 0nf c61 47 uf +5v c46 10 0nf c48 10 0nf r86 10 0k +5v r87 4k 7 +5v r85 10 k r84 10 k +5v c47 10 0nf c62 47 uf +5v r82 10 k +5v r76 0 r83 10k tp9 aux 2 tp10 aux 1 smartcard_3/5v smartcard_rst smartcard_clk smartcard_off smartcard_cmdvcc smart card smartcard_i/o stm8/128-eval smartcard mb631 11 12
schematics um0482 36/41 figure 27. power supply 1 1 2 2 3 3 4 4 d d c c b b a a stmicroelectronics tit le: number: rev: sheet of d. 2(pcb. sc h) date: 2008-08-28 vin 3 gn d 1 vou t 2 u3 ld 108 6d2 m3 3 c11 47 0uf c9 10 uf c12 10 0nf +5v tp1 3v3 sv 1 sg 2 cv 3 cg1 4 cg2 5 cg3 6 u4 bnx0 02-0 1 c8 10 uf e5 v tp2 +5v +5v r17 30 0 1 2 ld 5 red jumper for choice between power connector and daughter board tp4 grou nd 1 3 2 cn6 dc-10 b z1 sma j5. 0a-tr c3 10 0nf 1 2 3 u2 ze n05 6v13 0a2 4ls +3v3 d5 v e5 v 1 2 3 4 jp3 header 2x2h tp3 +3v3 +3v3 r18 30 0 1 2 ld 6 red tp12 gn d tp11 gn d tp13 gn d tp14 gn d stm8/128-eval power mb631 12 12
um0482 stm8/128-eval io assignment 37/41 appendix a stm8/128-eval io assignment table 23. stm8/128-eval pin functions pin pin name main alternate functi on stm8/128-eval pin assignment 1 nrst / reset nrst reset reset 2 pa1 / oscin pa1 oscin oscin 3 pa2 / oscout pa2 oscout oscout 4 vssio / vssio_1 vssio vssio_1 vss_dig 5 vss / vss vss vss vss_io_1 6 vcap / vcap vcap vcap vcap 7 vdd / vdd vdd vdd vdd_dig 8 vddio / vddio_1 vddio vddio_1 vdd_io_1 9 pa3 / tim2_ch3 pa3 tim2_ch3 mc_pin34/measure phase c / qst_pin7 10 pa4 / uart1_rx pa4 uart1_rx uart1_rx 11 pa5 / uart1_tx pa5 uart1_tx uart1_tx 12 pa6 / uart1_ck pa6 uart1_ck smartcard_clk 13 ph0 / gp_io7 ph0 gp_io7 ph0 - ld4 14 ph1 / gp_io8 ph1 gp_io8 ph1 - ld3 15 ph2 / gp_io9 ph2 gp_io9 ph2 - ld2 16 ph3 / gp_io10 ph3 gp_io10 ph3 - ld1 17 pf7 / ain15 pf7 ain15 lin_1_en 18 pf6 / ain14 pf6 ain14 usart multiplexer 2 19 pf5 / ain13 pf5 ain13 usart multiplexer 1 20 pf4 / ain12 pf4 ain12 bnc connector 21 pf3 / ain11 pf3 ain11 ain11 / mic_out 22 pf2 / vref+ pf2 vref+ vref+ 23 vdda / vdda vdda vdda vdda 24 vssa / vssa vssa vssa vssa 25 pf1 / vref- pf1 vref- vref- 26 pf0 / ain10 pf0 ain10 lcd cs ( for spi ) 27 pb7 / ain7 pb7 ain7 joystick input down 28 pb6 / ain6 pb6 ain6 joystick input up 29 pb5 / ain5 pb5 ain5 joystick input right 30 pb4 / ain4 pb4 ain4 joystick input left 31 pb3 / ain3 pb3 ain3 mc_pin14/ bus voltage 32 pb2 / ain2 pb2 ain2 mc_pin15/ current phase a
stm8/128-eval io assignment um0482 38/41 33 pb1 / ain1 pb1 ain1 mc_pin17/ current phase b 34 pb0 / ain0 pb0 ain0 mc_pin19 / current phase c 35 ph4 / tim1_etr ph4 tim1_etr lcd backlight control 36 ph5 / tim1_ch3n ph5 tim1_ch3n mc_pin13/t1_nch3 wl 37 ph6 / tim1_ch2n ph6 tim1_ch2n mc_pin9/t1_nch2 vl 38 ph7 / tim1_ch1n ph7 tim1_ch1n mc_pin5/t1_nch1 ul 39 pe7 / ain8 pe7 ain8 mc_pin26/heatsink temp 40 pe6 / ain9 pe6 ain9 potentiometer read 41 pe5 / spi_nss pe5 spi_nss sd card cs ( for spi) 42 pc0 / adc_etr pc0 adc_etr push_button 43 pc1 / tim1_ch1 pc1 tim1_ch1 mc_pin3/t1_ch1 uh 44 pc2 / tim1_ch2 pc2 tim1_ch2 mc_pin7/t1_ch2 vh 45 pc3 / tim1_ch3 pc3 tim1_ch3 mc_pin11/t1_ch3 wh 46 pc4 / tim1_ch4 pc4 tim1_ch4 pwm to speaker 47 pc5 / spi_sck pc5 spi_sck spi sck / qst_pin4 48 vssio / vssio_2 vssio vssio_2 vss_io 49 vddio / vddio_2 vddio vddio_2 vdd_io 50 pc6 / spi_mosi pc6 spi_mosi spi mosi / qst_pin6 51 pc7 / spi_miso pc7 spi_miso spi miso / qst_pin8 52 pg0 / can_tx pg0 can_tx can_tx 53 pg1 / can_rx pg1 can_rx can_rx 54 pg2 / gp_io1 pg2 gp_io1 mc_pin21/ ntc bypass relay 55 pg3 / gp_io2 pg3 gp_io2 lin_2_en 56 pg4 / gp_io3 pg4 gp_io3 smartcard_3/5v 57 pi0 / gp_io11 pi0 gp_io11 dip-switch 0 / qst_pin9 58 pi1 / gp_io12 pi1 gp_io12 dip-switch 1 / qst_pin10 59 pi2 / gp_io13 pi2 gp_io13 dip-switch 2 60 pi3 / gp_io14 pi3 gp_io14 dip-switch 3 61 pi4 / gp_io15 pi4 gp_io15 dip-switch 4 62 pi5 / gp_io16 pi5 gp_io16 dip-switch 5 63 pg5 / gp_io4 pg5 gp_io4 smartcard_rst 64 pg6 / gp_io5 pg6 gp_io5 lin multiplexer 1 65 pg7 / gp_io6 pg7 gp_io6 smartcard_cmdvcc 66 pe4 / smb_alert pe4 smb_alert microsdcard detect 67 pe3 / tim1_bkin pe3 tim1_bkin mc_pin1/t1_brk emergency table 23. stm8/128-eval pin functions (continued) pin pin name main alternate functi on stm8/128-eval pin assignment
um0482 stm8/128-eval io assignment 39/41 68 pe2 / i2c_sda pe2 i2c_sda i2c_sda / eeprom / qst_pin5 69 pe1 / i2c_scl pe1 i2c_scl i2c_sclk / eeprom / qst_pin3 70 pe0 / mco pe0 mco smartcard_off 71 pi6 / gp_io17 pi6 gp_io17 dip-switch 6 72 pi7 / gp_io18 pi7 gp_io18 dip-switch 7 73 pd0 / tim3_ch2 pd0 tim3_ch2 mc_pin29/pfc_pwm, or mc_pin23/ dissipative brake. selected by a jumper 74 pd1 / swim pd1 swim swim 75 pd2 / tim3_ch1 pd2 tim3_ch1 mc_pin27/pfc sync 76 pd3 / tim2_ch2 pd3 tim2_ch2 mc_pin31/measure phase a / qst_pin11 77 pd4 / tim2_ch1 pd4 tim2_ch1 mc_pin33/measure phase b /beep 78 pd5 / uart3_tx pd5 uart3_tx uart3_tx 79 pd6 / uart3_rx pd6 uart3_rx uart3_rx 80 pd7 / tli pd7 tli joystick input selection table 23. stm8/128-eval pin functions (continued) pin pin name main alternate functi on stm8/128-eval pin assignment
revision history um0482 40/41 revision history table 24. document revision history date revision changes 23-jan-2008 1 initial release. 29-aug-2008 2 note 1 and note 2 added below figure 3 . cover page, section 1 , section 1.12 and section 1.13 updated. renamed usart1 and usart2, uart1 and uart3, respectively, in section 1.7 . updated microcontroller pin names in figure 16 and figure 17 : tim_ccx and tim_nccx renamed tim_chx and tim_chnx, respectively. tim2_cc1 beep renamed tim2_ch1 beep. pe6/ain8 and pe7/ain9 renamed pe6/ain9 and pe7/ain8, respectively. replaced figure 18 , figure 19 , figure 20 , figure 21 , figure 22 , figure 23 , figure 24 , figure 25 , figure 26 , and figure 27 by revisions d.2. usart_rx changed to uart_rx in figure 25 . usart_tx changed to uart_tx in figure 25 . linuart_rx changed to uart3_rx in figure 17 . linuart_tx changed to uart3_tx in figure 17 . usart_rx changed to uart_rx in figure 17 . usart_tx changed to uart_tx in figure 17 . usart_ck changed to uart_ck in figure 17 . ta bl e 2 2 : changed alternate function for pins 7, 8, 15, 17, and 18. ta bl e 2 3 : changed pin name and alternate function for pins 9, 10,11,12,36-38,43-46, 75, 76, 77, 78,79. modified stm8/128-eval pin assignment for pins 10, 11,12, 78, and 79.
um0482 41/41 please read carefully: information in this document is provided solely in connection with st products. stmicroelectronics nv and its subsidiaries (?st ?) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described he rein at any time, without notice. all st products are sold pursuant to st?s terms and conditions of sale. purchasers are solely responsible for the choice, selection and use of the st products and services described herein, and st as sumes no liability whatsoever relating to the choice, selection or use of the st products and services described herein. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. i f any part of this document refers to any third party products or services it shall not be deemed a license grant by st for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoev er of such third party products or services or any intellectual property contained therein. unless otherwise set forth in st?s terms and conditions of sale st disclaims any express or implied warranty with respect to the use and/or sale of st products including without limitation implied warranties of merchantability, fitness for a parti cular purpose (and their equivalents under the laws of any jurisdiction), or infringement of any patent, copyright or other intellectual property right. unless expressly approved in writing by an authorized st representative, st products are not recommended, authorized or warranted for use in milita ry, air craft, space, life saving, or life sustaining applications, nor in products or systems where failure or malfunction may result in personal injury, death, or severe property or environmental damage. st products which are not specified as "automotive grade" may only be used in automotive applications at user?s own risk. resale of st products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by st for the st product or service described herein and shall not create or extend in any manner whatsoev er, any liability of st. st and the st logo are trademarks or registered trademarks of st in various countries. information in this document supersedes and replaces all information previously supplied. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners. ? 2008 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of STM8128-MCKIT

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X